<?php
declare (strict_types = 1);

namespace app;

use common\services\GroupDataService;
use common\services\SystemConfigService;
use common\utils\Json;
use think\Service;

/**
 * 应用服务类
 */
class AppService extends Service
{
    public $bind = [
        'json' => Json::class,
        'sysConfig' => SystemConfigService::class,
        'sysGroupData' => GroupDataService::class
    ];

    public function boot()
    {
        defined('DS') || define('DS', DIRECTORY_SEPARATOR);
    }
}
